const express = require('express');
const path = require('path');
const app = express();
app.use('/static', express.static(path.join(__dirname, 'public', 'laoxi')));
app.get('/', (req, res) => {
    res.send('xxx');
})
app.listen(3000, err => {
    if (!err) console.log('server启动');
    else console.log(err);
})